import React from 'react';
import {Route} from 'react-router-dom'
import frame from '../../style/frame.less';

import Home from '../modules/index/home';
import Solution from '../modules/index/solution';
import Case from "../modules/index/case";
import AboutUs from "../modules/index/aboutus";
import Employ from "../modules/index/employ";
import Team from "../modules/index/team";
import ContactUs from "../modules/index/contactus";
import Ecs from "../modules/index/compute/ecs";
import Lightserver from "../modules/index/compute/lightserver";
import OSS from "../modules/index/stockpile/oss";
import Nas from "../modules/index/stockpile/nas";
import BlockStorage from "../modules/index/stockpile/blockStorage";
import Vpc from "../modules/index/network/vpc";
import Slb from "../modules/index/network/slb";
import Nat from "../modules/index/network/nat";
import Dns from "../modules/index/network/dns";
import Ntp from "../modules/index/network/ntp";
import Mysql from "../modules/index/database/mysql";
import MysqlCluster from "../modules/index/database/mysqlCluster";
import PostgreSql from "../modules/index/database/postgreSql";
import MongoDB from "../modules/index/database/mongoDB";
import Redis from "../modules/index/database/redis";
import RedisCluster from "../modules/index/database/redisCluster";
import Memcached from "../modules/index/database/memcached";
import Hadoop from "../modules/index/bigData/hadoop";
import Spark from "../modules/index/bigData/spark";
import Zookeeper from "../modules/index/serviceRegistration/zookeeper";
import Etcd from "../modules/index/serviceRegistration/etcd";
import GRpc from "../modules/index/serviceRegistration/grpc";
import Thrift from "../modules/index/serviceRegistration/thrift";
import Dubbo from "../modules/index/distributedArchitecture/dubbo";
import Tars from "../modules/index/distributedArchitecture/tars";
import RabbitMQ from "../modules/index/messageQueue/rabbitmq";
import ZeroMQ from "../modules/index/messageQueue/zeromg";
import ActiveMQ from "../modules/index/messageQueue/activemq";
import SpringCloud from "../modules/index/distributedArchitecture/springcloud";
import Gpu from "../modules/index/compute/gpu";
import Fpga from "../modules/index/compute/fpga";
import ExclusiveHost from "../modules/index/compute/exclusiveHost";
import ImageManagement from "../modules/index/compute/imageManagement";
import Activiti from '../modules/index/BPMBusiness/Activiti';
import JBPM from '../modules/index/BPMBusiness/jBPM';
import ELK from '../modules/index/DistributedLogFramework/ELK';
import Flume from '../modules/index/DistributedLogFramework/Flume';
import Kafka from '../modules/index/messageQueue/Kafka';
import Kafka_cluster from '../modules/index/DistributedLogFramework/Kafka_cluster';
import Scribe from '../modules/index/DistributedLogFramework/Scribe';
import AccountSecurity from '../modules/index/securityAndAuthority/accountSecurity';
import CloudOS from '../modules/index/securityAndAuthority/cloudOS';
import Firewall from '../modules/index/securityAndAuthority/firewall';
import WeakPassword from '../modules/index/securityAndAuthority/weakPassword';
import WebFirewall from '../modules/index/securityAndAuthority/webFirewall';
import DDos from '../modules/index/securityAndAuthority/DDosAttack';
import Fuzz from '../modules/index/securityAndAuthority/Fuzz';
import SSL from '../modules/index/securityAndAuthority/SSL';
import SqlInjection from '../modules/index/securityAndAuthority/SqlInjection';
import SubAccountManagement from '../modules/index/securityAndAuthority/SubAccountManagement';
import Register from "../modules/register/register";
import Login from "../modules/register/login";
import ForgetPassword from "../modules/register/forgetPasswd";
import Finance from "../modules/index/finance";


class Content extends React.Component {

    constructor(props) {
        super(props);
    }

    render() {
        return (
            <div className={frame.contentPanel}>
                <Route exact path="/" component={Home}/>
                <Route exact path="/home" component={Home}/>
                <Route exact path="/solution" component={Solution}/>
                <Route exact path="/case" component={Case}/>
                <Route exact path="/aboutus" component={AboutUs}/>
                <Route exact path="/employ" component={Employ}/>
                <Route exact path="/team" component={Team}/>
                <Route exact path="/contactus" component={ContactUs}/>
                <Route exact path="/ecs" component={Ecs}/>
                <Route exact path="/lightserver" component={Lightserver}/>
                <Route exact path="/gpu" component={Gpu}/>
                <Route exact path="/fpga" component={Fpga}/>
                <Route exact path="/exclusiveHost" component={ExclusiveHost}/>
                <Route exact path="/imageManagement" component={ImageManagement}/>

                <Route exact path="/oss" component={OSS}/>
                <Route exact path="/nas" component={Nas}/>
                <Route exact path="/blockStorage" component={BlockStorage}/>

                <Route exact path="/vpc" component={Vpc}/>
                <Route exact path="/slb" component={Slb}/>
                <Route exact path="/nat" component={Nat}/>
                <Route exact path="/dns" component={Dns}/>
                <Route exact path="/ntp" component={Ntp}/>

                <Route exact path="/mysql" component={Mysql}/>
                <Route exact path="/mysqlCluster" component={MysqlCluster}/>
                <Route exact path="/postgreSql" component={PostgreSql}/>
                <Route exact path="/mongoDB" component={MongoDB}/>
                <Route exact path="/redis" component={Redis}/>
                <Route exact path="/redisCluster" component={RedisCluster}/>
                <Route exact path="/memcached" component={Memcached}/>

                <Route exact path="/hadoop" component={Hadoop}/>
                <Route exact path="/spark" component={Spark}/>
                <Route exact path="/zookeeper" component={Zookeeper}/>
                <Route exact path="/etcd" component={Etcd}/>
                <Route exact path="/grpc" component={GRpc}/>
                <Route exact path="/thrift" component={Thrift}/>
                <Route exact path="/dubbo" component={Dubbo}/>
                <Route exact path="/tars" component={Tars}/>
                <Route exact path="/springcloud" component={SpringCloud}/>
                <Route exact path="/rabbitmq" component={RabbitMQ}/>
                <Route exact path="/zeromq" component={ZeroMQ}/>
                <Route exact path="/activemq" component={ActiveMQ}/>

                <Route exact path="/activiti" component={Activiti}/>
                <Route exact path="/jBPM" component={JBPM}/>

                <Route exact path="/ELK" component={ELK}/>
                <Route exact path="/Flume" component={Flume}/>
                <Route exact path="/Kafka" component={Kafka}/>
                <Route exact path="/Kafka_cluster" component={Kafka_cluster}/>
                <Route exact path="/Scribe" component={Scribe}/>

                <Route exact path="/accountSecurity" component={AccountSecurity}/>
                <Route exact path="/cloudOS" component={CloudOS}/>
                <Route exact path="/firewall" component={Firewall}/>
                <Route exact path="/webFirewall" component={WebFirewall}/>
                <Route exact path="/weakPassword" component={WeakPassword}/>
                <Route exact path="/DDos" component={DDos}/>
                <Route exact path="/Fuzz" component={Fuzz}/>
                <Route exact path="/SSL" component={SSL}/>
                <Route exact path="/sqlInjection" component={SqlInjection}/>
                <Route exact path="/subAccountManagement" component={SubAccountManagement}/>

                <Route exact path="/register" component={Register}/>
                <Route exact path="/login" component={Login}/>
                <Route exact path="/forgetPassword" component={ForgetPassword}/>

                <Route exact path="/finance" component={Finance}/>
            </div>
        )
    }
}

export default Content
